home *** CD-ROM | disk | FTP | other *** search
/ 130 MIDI Tool Box / 130 MIDI Tool Box.iso / miditxt / midi.txt
Text File  |  1986-05-31  |  27KB  |  620 lines

  1.                        The USENET MIDI Primer
  2.  
  3.                             Bob McQueer
  4.  
  5. PURPOSE
  6.  
  7. It seems as though many people in the USENET community have an interest
  8. in the Musical Instrument Digital Interface (MIDI), but for one reason
  9. or another have only obtained word of mouth or fragmentary descriptions
  10. of the specification.  Basic questions such as "what's the baud rate?",
  11. "is it EIA?" and the like seem to keep surfacing in about half a dozen
  12. newsgroups.  This article is an attempt to provide the basic data to
  13. the readers of the net.
  14.  
  15. REFERENCE
  16.  
  17. The major written reference for this article is version 1.0 of the MIDI
  18. specification, published by the International MIDI Association, copyright
  19. 1983.  There exists an expanded document.  This document, which I have not
  20. seen, is simply an expansion of the 1.0 spec. to contain more explanatory
  21. material, and fill in some areas of hazy explanation.  There are no
  22. radical departures from 1.0 in it.  I have also heard of a "2.0" spec.,
  23. but the IMA claims no such animal exists.  In any event, backwards
  24. compatibility with the information I am presenting here should be
  25. maintained.
  26.  
  27. CONVENTIONS
  28.  
  29. I will give constants in C syntax, ie. 0x for hexadecimal.  If I
  30. refer to bits by number, I number them starting with 0 for the low
  31. order (1's place) bit.  The following notation:
  32.  
  33. >>
  34.  
  35. text
  36.  
  37. <<
  38.  
  39. will be used to delimit commentary which is not part of the "bare-
  40. bones" specification.  A sentence or paragraph marked with a question
  41. mark in column 1 is a point I would kind of like to hear something
  42. about myself.
  43.  
  44. OK, let's give it a shot.
  45.  
  46. PHYSICAL CONNECTOR SPECIFICATION
  47.  
  48. The standard connectors used for MIDI are 5 pin DIN.  Separate sockets
  49. are used for input and output, clearly marked on a given device.  The
  50. spec. gives 50 feet as the maximum cable length.  Cables are to be
  51. shielded twisted pair, with the shield connecting pin 2 at both ends.
  52. The pair is pins 4 and 5, pins 1 and 3 being unconnected:
  53.  
  54.                               2
  55.                           5       4
  56.                         3           1
  57.  
  58. A device may also be equipped with a "MIDI-THRU" socket which is used
  59. to pass the input of one device directly to output.
  60.  
  61. >>
  62.     I think this arrangement shows some of the original conception
  63.     of MIDI more as a way of allowing keyboardists to control
  64.     multiple boxes than an instrument to computer interface.  The
  65.     "daisy-chain" arrangement probably has advantages for a performing
  66.     musician who wants to play "stacked" synthesizers for a desired
  67.     sound, and has to be able to set things up on the road.
  68. <<
  69.  
  70. ELECTRICAL SPECIFICATION
  71.  
  72. Asynchronous serial interface.  The baud rate is 31.25 Kbaud (+/- 1%).
  73. There are 8 data bits, with 1 start bit and 1 stop bit, for 320
  74. microseconds
  75. per serial byte.
  76.  
  77. MIDI is current loop, 5 mA.  Logic 0 is current ON.  The specification
  78. states that input is to be opto-isolated, and points out that Sharp
  79. PC-900 and HP 6N138 optoisolators are satisfactory devices.  Rise and
  80. fall time for the optoisolator should be less than 2 microseconds.
  81.  
  82. The specification shows a little circuit diagram for the connections
  83. to a UART.  I am not going to reproduce it here.  There's not much
  84. to it - I think the important thing it shows is +5 volt connection
  85. to pin 4 of the MIDI out with pin 5 going to the UART, through 220
  86. ohm load resistors.  It also shows that you're supposed to connect
  87. to the "in" side of the UART through an optoisolator, and to the
  88. MIDI-THRU on the UART side of the isolator.
  89.  
  90. >>
  91.     I'm not much of a hardware person, and don't really know what
  92.     I'm talking about in paragraphs like the three above.  I DO
  93.     recognize that this is a "non-standard" specification, which
  94.     won't work over serial ports intended for anything else.  People
  95.     who do know about such things seem to either have giggling
  96.     or gagging fits when they see it, depending on their dispos-
  97.     itions, saying things like "I haven't seen current loop since
  98.     the days of the old teletypes".  I also know the fast 31.25
  99.     Kbaud pushes the edge for clocking commonly available UART's.
  100. <<
  101.  
  102. DATA FORMAT
  103.  
  104. For standard MIDI messages, there is a clear concept that one device
  105. is a "transmitter" or "master", and the other a "receiver" or "slave".
  106. Messages take the form of opcode bytes, followed by data bytes.
  107. Opcode bytes are commonly called "status" bytes, so we shall use
  108. this term.
  109.  
  110. >>
  111.     very similar to handling a terminal via escape sequences.  There
  112.     aren't ACK's or other handshaking mechanisms in the protocol.
  113. <<
  114.  
  115. Status bytes are marked by bit 7 being 1.  All data bytes must
  116. contain a 0 in bit 7, and thus lie in the range 0 - 127.
  117.  
  118. MIDI has a logical channel concept.  There are 16 logical channels,
  119. encoded into bits 0 - 3 of the status bytes of messages for
  120. which a channel number is significant.  Since bit 7 is taken over
  121. for marking the status byte, this leaves 3 opcode bits for message
  122. types with a logical channel.  7 of the possible 8 opcodes are
  123. used in this fashion,  reserving the status bytes containing all
  124. 1's in the high nibble for "system" messages which don't have a
  125. channel number.  The low order nibble in these remaining messages
  126. is really further opcode.
  127.  
  128. >>
  129.     If you are interested in receiving MIDI input, look over the
  130.     SYSTEM messages even if you wish to ignore them.  Especially the
  131.     "system exclusive" and "real time" messages.  The real time
  132.     messages may be legally inserted in the middle of other data,
  133.     and you should be aware of them, even though many devices won't
  134.     use them.
  135. <<
  136.  
  137. VOICE MESSAGES
  138.  
  139. I will cover the message with channel numbers first.  The opcode
  140. determines
  141. the number of data bytes for a single message (see "running status byte",
  142. below).  The specification divides these into "voice" and "mode" messages.
  143. The "mode" messages are for control of the logical channels, and the
  144. control
  145. opcodes are piggybacked onto the data bytes for the "parameter" message. 
  146. I
  147. will go into this after describing the "voice messages".  These messages
  148. are:
  149.  
  150. status byte   meaning        data bytes
  151.  
  152. 0x80-0x8f     note off       2 - 1 byte pitch, followed by 1 byte velocity
  153. 0x90-0x9f     note on        2 - 1 byte pitch, followed by 1 byte velocity
  154. 0xa0-0xaf     key pressure   2 - 1 byte pitch, 1 byte pressure
  155. (after-touch)
  156. 0xb0-0xbf     parameter      2 - 1 byte parameter number, 1 byte setting
  157. 0xc0-0xcf     program        1 byte program selected
  158. 0xd0-0xdf     chan. pressure 1 byte channel pressure (after-touch)
  159. 0xe0-0xef     pitch wheel    2 bytes giving a 14 bit value, least
  160.                                             significant 7 bits first
  161.  
  162. Many explanations are necessary here:
  163.  
  164. For all of these messages, a convention called the "running status
  165. byte" may be used.  If the transmitter wishes to send another message
  166. of the same type on the same channel, thus the same status byte, the
  167. status byte need not be resent.
  168.  
  169. Also, a "note on" message with a velocity of zero is to be synonymous
  170. with a "note off".  Combined with the previous feature, this is intended
  171. to allow long strings of notes to be sent without repeating status bytes.
  172.  
  173. >>
  174.     From what I've seen, the "zero velocity note on" feature is very
  175.     heavily used.  My six-trak sends these, even though it sends
  176.     status bytes on every note anyway.  Roland stuff uses it.
  177. <<
  178.  
  179. The pitch bytes of notes are simply number of half-steps, with
  180. middle C = 60.
  181.  
  182. >>
  183.     On keyboard synthesizers, this usually simply means which
  184.     physical key corresponds, since the patch selection will
  185.     change the actual pitch range of the keyboard.  Most keyboards
  186.     have one C key which is unmistakably in the middle of the
  187.     keyboard.  This is probably note 60.
  188. <<
  189.  
  190. The velocity bytes for velocity sensing keyboards are supposed
  191. to represent a logarithmic scale.  "advisable" in the words
  192. of the spec.  Non-velocity sensing devices are supposed to
  193. send velocity 64.
  194.  
  195. The pitch wheel value is an absolute setting, 0 - 0x3FFF.  The
  196. 1.0 spec. says that the increment is determined by the receiver.
  197. 0x2000 is to correspond to a centered pitch wheel (unmodified
  198. notes)
  199.  
  200. >>
  201.     I believe standard scale steps are one of the things discussed
  202.     in expansions.  The six-trak pitch wheel is up/down about a third.
  203.     I believe several makers have used this value, but I may be
  204.     wrong.
  205.  
  206.     The "pressure" messages are for keyboards which sense the amount
  207.     of pressure placed on an already depressed key, as opposed to
  208.     velocity, which is how fast it is depressed or released.
  209.  
  210. ?    I'm not really certain of how "channel" pressure works.  Yamaha
  211.     is one maker that uses these messages, I know.
  212. <<
  213.  
  214. Now, about those parameter messages.
  215.  
  216. Instruments are so fundamentally different in the various controls
  217. they have that no attempt was made to define a standard set, like
  218. say 9 for "Filter Resonance".  Instead, it was simply assumed that
  219. these messages allow you to set "controller" dials, whose purposes
  220. are left to the given device, except as noted below.  The first data
  221. bytes correspond to these "controllers" as follows:
  222.  
  223. data byte
  224.  
  225. 0 - 31       continuous controllers 0 - 31, most significant byte
  226. 32 - 63      continuous controllers 0 - 31, least significant byte
  227. 64 - 95      on / off switches
  228. 96 - 121     unspecified, reserved for future.
  229. 122 - 127    the "channel mode" messages I alluded to above.  See
  230.              below.
  231.  
  232. The second data byte contains the seven bit setting for the controller.
  233. The switches have data byte 0 = OFF, 127 = ON with 1 - 126 undefined.
  234. If a controller only needs seven bits of resolution, it is supposed to
  235. use the most significant byte.  If both are needed, the order is
  236. specified as most significant followed by least significant.  With a
  237. 14 bit controller, it is to be legal to send only the least significant
  238. byte if the most significant doesn't need to be changed.
  239.  
  240. >>
  241.     This may of, course, wind up stretched a bit by a given manufacturer.
  242.     The Six-Trak, for instance, uses only single byte values (LEFT
  243.     justified within the 7 bits at that), and recognizes >32 parameters
  244. <<
  245.  
  246. Controller number 1 IS standardized to be the modulation wheel.
  247.  
  248. ?    Are there any other standardizations which are being followed by most
  249.     manufacturers?
  250.  
  251. MODE MESSAGES
  252.  
  253. These are messages with status bytes 0xb0 through 0xbf, and leading data
  254. bytes 122 - 127.  In reality, these data bytes function as further
  255. opcode data for a group of messages which control the combination of
  256. voices and channels to be accepted by a receiver.
  257.  
  258. An important point is that there is an implicit "basic" channel over which
  259. a given device is to receive these messages.  The receiver is to ignore
  260. mode messages over any other channels, no matter what mode it might be in.
  261. The basic channel for a given device may be fixed or set in some manner
  262. outside the scope of the MIDI standard.
  263.  
  264. The meaning of the values 122 through 127 is as follows:
  265.  
  266. data byte                   second data byte
  267. 122       local control     0 = local control off, 127 = on
  268. 123       all notes off     0
  269. 124       omni mode off     0
  270. 125       omni mode on      0
  271. 126       monophonic mode   number of monophonic channels, or 0
  272.                             for a number equal to receivers voices
  273. 127       polyphonic mode   0
  274.  
  275. 124 - 127 also turn all notes off.
  276.  
  277. Local control refers to whether or not notes played on an instruments
  278. keyboard play on the instrument or not.  With local control off, the
  279. host is still supposed to be able to read input data if desired, as
  280. well as sending notes to the instrument.  Very much like "local echo"
  281. on a terminal, or "half duplex" vs. "full duplex".
  282.  
  283. The mode setting messages control what channels / how many voices the
  284. receiver recognizes.  The "basic channel" must be kept in mind. "Omni"
  285. refers to the ability to receive voice messages on all channels.  "Mono"
  286. and "Poly" refer to whether multiple voices are allowed.  The rub is
  287. that the omni on/off state and the mono/poly state interact with each
  288. other.  We will go over each of the four possible settings, called "modes"
  289. and given numbers in the specification:
  290.  
  291. mode 1 - Omni on / Poly - voice messages received on all channels and
  292.          assigned polyphonically.  Basically, any notes it gets, it
  293.          plays, up to the number of voices
  294. it's capable of.
  295.  
  296. mode 2 - Omni on / Mono - monophonic instrument which will receive
  297.          notes to play in one voice on all channels.
  298.  
  299. mode 3 - Omni off / Poly - polyphonic instrument which will receive
  300.          voice messages on only the basic channel.
  301.  
  302. mode 4 - Omni off / Mono - A useful mode, but "mono" is a misnomer.
  303.          To operate in this mode a receiver is supposed to receive
  304.          one voice per channel.  The number
  305. channels recognized will be
  306.          given by the second data byte, or
  307. the maximum number of possible
  308.          voices if this byte is zero.  The
  309. set of channels thus defined
  310.          is a sequential set, starting with
  311. the basic channel.
  312.  
  313. The spec. states that a receiver may ignore any mode that it cannot
  314. honor, or switch to an alternate - "usually" mode 1.  Receivers are
  315. supposed to default to mode 1 on power up.  It is also stated that
  316. power up conditions are supposed to place a receiver in a state where
  317. it will only respond to note on / note off messages, requiring a
  318. setting of some sort to enable the other message types.
  319.  
  320. >>
  321.     I think this shows the desire to "daisy-chain" devices for
  322.     performance from a single master again.  We can set a series
  323.     of instruments to different basic channels, tie 'em together,
  324.     and let them pass through the stuff they're not supposed to
  325.     play to someone down the line.
  326.  
  327.     This suffers greatly from lack of acknowledgement concerning
  328.     modes and usable channels by a receiver.  You basically have
  329.     to know your device, what it can do, and what channels it can
  330.     do it on.
  331.  
  332.     I think most makers have used the "system exclusive" message
  333.     (see below) to handle channels in a more sophisticated manner,
  334.     as well as changing "basic channel" and enabling receipt of
  335.     different message types under host control rather than by
  336.     adjustment on the device alone.
  337.  
  338.     The "parameters" may also be usurped by a manufacturer for
  339.     mode control, since their purposes are undefined.
  340.  
  341.     Another HUGE problem with the "daisy-chain" mental set of MIDI
  342.     is that most devices ALWAYS shovel whatever they play to their
  343.     MIDI outs, whether they got it from the keyboard or MIDI in.
  344.     This means that you have to cope with the instrument echoing
  345.     input back at you if you're trying to do an interactive session
  346.     with the synthesizer.  There is DRASTIC need for some MIDI flag
  347.     which specifically means that only locally generated data is to
  348.     go to MIDI out.  From device to device there are ways of coping
  349.     with this, none of them good.
  350. <<
  351.  
  352. SYSTEM MESSAGES
  353.  
  354. The status bytes 0x80 - 0x8f do not have channel numbers in the
  355. lower nibble.  These bytes are used as follows:
  356.  
  357. byte    purpose              data bytes
  358.  
  359. 0xf0    system exclusive     variable length
  360. 0xf1    undefined
  361. 0xf2    song position        2 - 14 bit value, least significant byte
  362.                                  first
  363. 0xf3    song select          1 - song number
  364. 0xf4    undefined
  365. 0xf5    undefined
  366. 0xf6    tune request         0
  367. 0xf7    EOX (terminator)     0
  368.  
  369. The status bytes 0xf8 - 0xff are the so-called "real-time" messages.
  370. I will discuss these after the accumulated notes concerning the
  371. first bunch.
  372.  
  373. Song position / song select are for control of sequencers.  The
  374. song position is in beats, which are to be interpreted as every
  375. 6 MIDI clock pulses.  These messages determine what is to be played
  376. upon receipt of a "start" real-time message (see below).
  377.  
  378. The "tune request" is a command to analog synthesizers to tune their
  379. oscillators.
  380.  
  381. The system exclusive message is intended for manufacturers to use
  382. to insert any specific messages they want to which apply to their
  383. own product.  The following data bytes are all to be "data" bytes,
  384. that is they are all to be in the range 0 - 127.  The system exclusive
  385. is to be terminated by the 0xf7 terminator byte.  The first data byte
  386. is also supposed to be a "manufacturer's id", assigned by a MIDI
  387. standards committee.  THE TERMINATOR BYTE IS OPTIONAL - a system
  388. exclusive may also be "terminated" by the status byte of the next
  389. message.
  390.  
  391. >>
  392.     Yamaha, in particular, caused problems by not sending terminator
  393.     bytes.  As I understand it, the DX-7 sends a system exclusive
  394.     at something like 80 msec. intervals when it has nothing better
  395.     to do, just so you know it's still there, I guess.  The messages
  396.     aren't explicitly terminated, so if you want to handle the
  397.     protocol (esp. in hardware), you should be aware that a DX-7
  398.     will leave you in "waiting for EOX" state a lot, and be sending
  399.     data even when it isn't doing anything.  This is all word of
  400.     mouth, since I've never personally played with a DX-7.
  401. <<
  402.  
  403. some MIDI ID's:
  404.  
  405.     Sequential Circuits   1      Bon Tempi     0x20     Kawai     0x40
  406.     Big Briar             2      S.I.E.L.      0x21     Roland    0x41
  407.     Octave / Plateau      3                             Korg      0x42
  408.     Moog                  4      SyntheAxe     0x23     Yamaha    0x43
  409.     Passport Designs      5
  410.     Lexicon               6
  411.  
  412.     PAIA                  0x11
  413.     Simmons               0x12
  414.     Gentle Electric       0x13
  415.     Fairlight             0x14
  416.  
  417. >>
  418.     Note the USA / Europe / Japan grouping of codes.  Also note
  419.     that Sequential Circuits snarfed id number 1 - Sequential
  420.     Circuits was one of the earliest participators in MIDI, some
  421.     people claim its originator.
  422.  
  423.     Two large makers missing from the original lineup were Casio
  424.     and Oberheim.  I know Oberheim is on the bandwagon now, and
  425.     Casio also, I believe.  Oberheim had their own protocol previous
  426.     to MIDI, and when MIDI first came out they were reluctant to
  427. ?    go along with it.  I wonder what we'd be looking at if Oberheim
  428.     had pushed their ideas and made them the standard.  From what I
  429.     understand they thought THEIRS was better, and kind of sulked
  430.     for a while until the market forced them to go MIDI.
  431.  
  432. ?    Nobody seems to care much about these ID numbers.  I can only
  433.     imagine them becoming useful if additions to the standard message
  434.     set are placed into system exclusives, with the ID byte to let
  435.     you know what added protocol is being used.  Are any groups of
  436.     manufacturers considering consolidating their efforts in a
  437.     standard extension set via system exclusives?
  438. <<
  439.  
  440. REAL TIME MESSAGES.
  441.  
  442. This is the final group of status bytes, 0xf8 - 0xff.  These bytes
  443. are reserved for messages which are called "real-time" messages
  444. because they are allowed to be sent ANYPLACE.  This includes in
  445. between data bytes of other messages.  A receiver is supposed to
  446. be able to receive and process (or ignore) these messages and
  447. resume collection of the remaining data bytes for the message
  448. which was in progress.  Realtime messages do not affect the
  449. "running status byte" which might be in effect.
  450.  
  451. ?    Do any devices REALLY insert these things in the middle of
  452.     other messages?
  453.  
  454. All of these messages have no data bytes following (or they could
  455. get interrupted themselves, obviously).  The messages:
  456.  
  457. 0xf8   timing clock
  458. 0xf9   undefined
  459. 0xfa   start
  460. 0xfb   continue
  461. 0xfc   stop
  462. 0xfd   undefined
  463. 0xfe   active sensing
  464. 0xff   system reset
  465.  
  466. The timing clock message is to be sent at the rate of 24 clocks
  467. per quarter note, and is used to sync. devices, especially drum
  468. machines.
  469.  
  470. Start / continue / stop are for control of sequencers and drum
  471. machines.  The continue message causes a device to pick up at the
  472. next clock mark.
  473.  
  474. >>
  475.     These things are also designed for performance, allowing control
  476.     of sequencers and drum machines from a "master" unit which
  477.     sends the messages down the line when its buttons are pushed.
  478.  
  479.     I can't tell you much about the trials and tribulations of drum
  480.     machines.  Other folks can, I am sure.
  481. <<
  482.  
  483. The active sensing byte is to be sent every 300 ms. or more often,
  484. if it is used.  Its purpose is to implement a timeout mechanism
  485. for a receiver to revert to a default state.  A receiver is to
  486. operate normally if it never gets one of these, activating the
  487. timeout mechanism from the receipt of the first one.
  488.  
  489. >>
  490.     My impression is that active sensing is largely unused.
  491. <<
  492.  
  493. The system reset initializes to power up conditions.  The spec. says
  494. that it should be used "sparingly" and in particular not sent
  495. automatically on power up.
  496.  
  497. AND NOW, CLIMBING TO THE PULPIT ....
  498.  
  499. >> - from here on out.
  500.  
  501. There are many deficiencies with MIDI, but it IS a standard.  As such,
  502. it will have to be grappled with.
  503.  
  504. The electrical specification leaves me with only one question - WHY?
  505. What was wanted was a serial interface, and a perfectly good RS232
  506. specification was to be had.  WHY wasn't it used?  The baud rate is
  507. too fast to simply convert into something you can feed directly to
  508. your serial port via fairly dumb hardware, also.  The "standard"
  509. baud rate step you would have to use would be 38.4 Kbaud which very
  510. few hardware interfaces accept.  The other alternative is to buffer
  511. messages and send them out a slower baud rate - in fact buffering
  512. of characters by some kind of I/O processor is very helpful.  Hence
  513. units like the MPU-401, which does a lot of other stuff, too of
  514. course.
  515.  
  516. The fast baud rate with MIDI was set for two reasons I believe:
  517.  
  518.     1) to allow daisy-chaining of a few devices with no noticeable
  519.         end to end lag.
  520.  
  521.     2) to allow chords to be played by just sending all the notes down
  522.         the pipe, the baud rate being fast
  523. enough that they will
  524.         sound simultaneous.
  525.  
  526. It doesn't exactly work - I've heard gripes concerning end to end lag
  527. on three instrument chains.  And consider chords - at two bytes (running
  528. status byte being used) per note, there will be a ten character lag
  529. between the trailing edges of the first and last notes of a six note
  530. chord.  That's 3.2 ms., assuming no "dead air" between characters.  It's
  531. still pretty fast, but on large chords with voices possessing distinctive
  532. attack characteristics, you may hear separate note beginnings.
  533.  
  534. I think MIDI could have used some means of packetizing chords, or having
  535. transaction markers.  If a "chord" message were specified, you could
  536. easily
  537. break even on byte count with a few notes, given that we assume all notes
  538. of a chord at the same velocity.  Transaction markers might be useful in
  539. any case, although I don't know if it would be worth taking over the
  540. remaining system message space for them.  I would say yes.  I would
  541. see having "start" and "end" transaction bytes.  On receipt of a "start"
  542. a receiver buffers up but does not act on messages until receipt of the
  543. "end" byte.  You could then do chords by sending the notes ahead of time,
  544. and precisely timing the "end" marker.  Of course, the job of the hardware
  545. in the receiver has been complicated considerably.
  546.  
  547. The protocol is VERY keyboard oriented - take a look at the use of TWO
  548. of the opcodes in the limited opcode space for "pressure" messages,
  549. and the inability to specify semitones or glissando effects except
  550. through the pitch wheel (which took up yet ANOTHER of the opcodes).
  551. All keyboards I know of modify ALL playing notes when they receive
  552. pitch wheel data.  Also, you have to use a continuous stream of
  553. pitch wheel messages to effect a slide, the pitch wheel step isn't
  554. standardized, and on a slide of a large number of tones you will
  555. overrun the range of the wheel.
  556.  
  557. ?    Some of these problems would be addressed by a device which allowed
  558.     its pitch wheel to have selective control - say modifying only
  559.     the notes playing on the channel the pitch wheel message is
  560.     received in, for instance.  The thing for a guitar synthesizer
  561.     to do, then, would be to use mode 4, one channel per string, and
  562.     bends would only affect the one note.  You could play a chord
  563.     on a voice with a lot of release, then bend a note and not have
  564.     the entire still sounding chord bend.  Any such devices?
  565.  
  566. I think some of the deficiencies in MIDI might be addressed by
  567. different communities of interest developing a standard set of
  568. system exclusives which answer the problem.  One perfect area
  569. for this, I think, is a standard set for representation of "non-
  570. keyboard / drum machine" instruments which have continuous pitch
  571. capabilities.  Like a pedal steel, for instance.  Or non-western
  572. intervals.  Like a sitar.
  573.  
  574. There is a crying need to do SOMETHING about the "loopback" problem.
  575. I would even vote for usurping a few more bytes in the mode messages
  576. to allow you to TURN OFF input echo by the receiver.  With the
  577. local control message, you could then at least deal with something
  578. that would act precisely like a half or full duplex terminal.
  579. Several patchwork solutions exist to this problem, but there OUGHT
  580. to be a standard way of doing it within the protocol.  Another
  581. thought is to allow data bytes of other than 0 or 127 to control
  582. echo on the existing local control message.
  583.  
  584. The lack of acknowledgement is a problem.  Another candidate for a
  585. standard system exclusive set would be a series of messages for
  586. mode setting with acknowledgement.  This set could then also
  587. take care of the loopback problem.
  588.  
  589. The complete lack of ability to specify standardized waveforms is
  590. probably another source of intense disappointment to many readers.
  591. Trouble is, the standard lingo used by the synthesizer industry and
  592. most working musicians is something which hails back to the first
  593. days of synthesizer design, deals with envelope generators and
  594. filters and VCO / LFO hardware parameters, and is very damn difficult
  595. to relate to Fourier series expressing the harmonic content or any other
  596. abstractions some people interested in doing computer composition
  597. would like.  The parameter set used by the average synthesizer
  598. manufacturer
  599. isn't anyplace close to orthogonal in any sense, and is bound to vary
  600. wildly in comparison to anybody elses.  There are essentially no
  601. abstractions made by most of the industry from underlying hardware
  602. parameters.  What standardization exists reflects only the similarity
  603. in hardware.  This is one quagmire that we have a long way to go to
  604. get out of, I think.  It might be possible, eventually, to come up
  605. with translation tables describing the best way to approximate a
  606. desired sound on a given device in terms of its parameter set, but
  607. the difficulties are enormous.  MIDI has chosen to punt on this one,
  608. folks.
  609.  
  610. Well, that's about it.  Good luck with talking to your synthesizer.
  611.  
  612. Bob McQueer
  613. 22 Bcy, 3151
  614.  
  615. All rites reversed.  Reprint what you like.
  616.  
  617.  
  618.  
  619.  
  620.